package com.hifar.test.collectdata.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.hifar.plat.AopOption.Dict;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.Date;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import com.hifar.plat.AopOption.Excel;

/**
* <p>
* 采集数据表
* </p>
*
* @author wangkepeng
* @since 2024-12-17 11:08:21
*/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TEST_2024")
@ApiModel(value = "CollectData对象", description = "采集数据表")
public class CollectData implements Serializable{

    private static final long serialVersionUID = 1L;


    /**
    * 主键ID
    */
    @Excel(name="主键ID",sort=1)
    @ApiModelProperty(value = "主键ID")
    @JSONField(name = "tagid")
    private String tagid;


    /**
    * 报警上限
    */
    @Excel(name="报警上限",sort=1)
    @ApiModelProperty(value = "报警上限")
    @TableField("ALARMUPPERLIMIT")
    @JSONField(name = "alarmupperlimit")
    private String alarmupperlimit;


    /**
    * 报警状态    1:报警、2：正常、3：不采集(不判读)、4：解析错误
    */
    @Excel(name="报警状态    1:报警、2：正常、3：不采集(不判读)、4：解析错误",sort=1)
    @ApiModelProperty(value = "报警状态    1:报警、2：正常、3：不采集(不判读)、4：解析错误")
    @TableField("ALARMSTATUS")
    @JSONField(name = "alarmstatus")
    private Integer alarmstatus;


    /**
    * 报警信息
    */
    @Excel(name="报警信息",sort=1)
    @ApiModelProperty(value = "报警信息")
    @TableField("ALARMINFO")
    @JSONField(name = "alarminfo")
    private String alarminfo;


    /**
    * 标签类型    1：温湿度压力、2：运行状态、3：报警信息
    */
    @Excel(name="标签类型    1：温湿度压力、2：运行状态、3：报警信息",sort=1)
    @ApiModelProperty(value = "标签类型    1：温湿度压力、2：运行状态、3：报警信息")
    @TableField("TAGTYPE")
    @JSONField(name = "tagtype")
    private Integer tagtype;


    /**
    * 标签值
    */
    @Excel(name="标签值",sort=1)
    @ApiModelProperty(value = "标签值")
    @TableField("TAGVALUE")
    @JSONField(name = "tagvalue")
    private String tagvalue;


    /**
    * 时间戳
    */
    @Excel(name="时间戳",sort=1)
    @ApiModelProperty(value = "时间戳")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("TIMESTAMP")
    @JSONField(name = "timestamp")
    private Date timestamp;


    /**
    * 报警下限
    */
    @Excel(name="报警下限",sort=1)
    @ApiModelProperty(value = "报警下限")
    @TableField("ALARMLOWERLIMIT")
    @JSONField(name = "alarmlowerlimit")
    private String alarmlowerlimit;


    /**
    * 标签名称
    */
    @Excel(name="标签名称",sort=1)
    @ApiModelProperty(value = "标签名称")
    @TableField("TAGNAME")
    @JSONField(name = "tagname")
    private String tagname;


    /**
    * id
    */
    @Excel(name="id",sort=1)
    @ApiModelProperty(value = "id")
    @TableId("id")
    @JSONField(name = "id")
    private String id;


    /**
    * 状态
    */
    @Excel(name="状态",sort=1)
    @ApiModelProperty(value = "状态")
    @TableField("status")
    @JSONField(name = "status")
    private String status;


    /**
    * 租户id
    */
    @Excel(name="租户id",sort=1)
    @ApiModelProperty(value = "租户id")
    @TableField(value = "tenant_id", fill = FieldFill.INSERT)
    @JSONField(name = "tenantId")
    private String tenantId;


    /**
    * 删除标识
    */
    @Excel(name="删除标识",sort=1)
    @ApiModelProperty(value = "删除标识")
    @TableLogic
    @JSONField(name = "delFlag")
    private Integer delFlag;


    /**
    * 创建人id
    */
    @Excel(name="创建人id",sort=1)
    @ApiModelProperty(value = "创建人id")
    @TableField(value = "create_user_id", fill = FieldFill.INSERT)
    @JSONField(name = "createUserId")
    private String createUserId;


    /**
    * 创建人姓名
    */
    @Excel(name="创建人姓名",sort=1)
    @ApiModelProperty(value = "创建人姓名")
    @TableField(value = "create_user_name", fill = FieldFill.INSERT)
    @JSONField(name = "createUserName")
    private String createUserName;


    /**
    * 创建时间
    */
    @Excel(name="创建时间",sort=1)
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @JSONField(name = "createTime")
    private Date createTime;


    /**
    * 更新人id
    */
    @Excel(name="更新人id",sort=1)
    @ApiModelProperty(value = "更新人id")
    @TableField(value = "update_user_id", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateUserId")
    private String updateUserId;


    /**
    * 更新人姓名
    */
    @Excel(name="更新人姓名",sort=1)
    @ApiModelProperty(value = "更新人姓名")
    @TableField(value = "update_user_name", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateUserName")
    private String updateUserName;


    /**
    * 更新时间
    */
    @Excel(name="更新时间",sort=1)
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    @JSONField(name = "updateTime")
    private Date updateTime;


    /**
    * 密级
    */
    @Excel(name="密级",sort=1)
    @ApiModelProperty(value = "密级")
    @TableField("secret_level")
    @JSONField(name = "secretLevel")
    private String secretLevel;

}